<script setup>
defineProps({
    title:{
        type: String
    },
    text:{
        type:String
    },
})
</script>
<template>
    <div class="Header">
        <span class="title">{{ title }}</span>
        <span class="txt">{{ text }}</span>
    </div>
    <div>
       
        <slot name="new"></slot>
        
        <slot name="hot"></slot>
        <slot name="product" class="product"></slot>
    </div>
</template>
<style scoped>
.Header{
    background-color: #fff;
    height: 60px;
    padding-left: 30px;
    margin-top: 30px;
}
.title{
   line-height: 60px;
   font-size: 20px;
   font-weight: 700;
}
.txt{
    font-size: 12px;
    color: #999;
    margin-left: 60px;
}
</style>